home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1997 September
/
Macworld (1997-09).dmg
/
Shareware World
/
Comms & Internet
/
SB114
/
Plugins
/
spin
< prev
next >
Wrap
Text File
|
1997-05-18
|
520b
|
28 lines
'Sample Plugin
'© John Bafford, 1996-1997
*COMMAND spin -1
*GLOBAL str nick
*GLOBAL int running 0
*ENDCONF
@ENTRY spin
@if #$GLOBAL:running. = 1 terminate
@set running 1
SAY $NICK spins the wheel of mystery
@DELAY 120
SAY Round and round the wheel goes...where it stops, nobody knows...
@DELAY 180
@set nick $RAND:nick.
SAY The wheel stops and points at $GLOBAL:nick..
@IF "$GLOBAL:nick." = "$BOTNICK" gotme
@set running 0
@END
@LABEL gotme
SAY Nice try...spin again, $NICK.
@set running 0
@END
@LABEL terminate
@END